package com.pansoft.hd.model;

import org.bitcoinj.core.Coin;
import org.bitcoinj.core.Sha256Hash;
import org.bitcoinj.core.UTXO;
import org.bitcoinj.script.Script;

public class HdUTXO extends UTXO {

    /**
     * utxo的path
     * 如“/0/1"
     */
    private String pathx;

    public HdUTXO(Sha256Hash hash, long index, Coin value, int height, boolean coinbase, Script script,
                  String pathx) {
        super(hash, index, value, height, coinbase, script);
        this.pathx = pathx;
    }

    public String getPathx() {
        return pathx;
    }

    public void setPathx(String pathx) {
        this.pathx = pathx;
    }
}
